﻿using System;

namespace StarClub.Web
{
    public partial class Logout : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            StarClub.BLL.LoginFacade.Loginout();
            if (Request.QueryString["returnUrl"] != null)
            {
                Response.Redirect(Request.QueryString["returnUrl"].ToString());
                return;
            }
            Response.Redirect("Default.aspx");
        }
    }
}
